<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header"></head>

<body>
<nav th:replace="layouts::navbar"></nav>

<div class="container">
    <form th:action="@{/idols/save}" th:object="${idol}" method="POST">

        <input type="hidden" th:field="${idol.idolId}">
        <div class="field m-mobile-wide m-margin-bottom-small">
            <div class="ui left icon input">
                <input type="text" placeholder="idol" th:field="${idol.name}">

            </div>
        </div>
        <div class="field m-mobile-wide m-margin-bottom-small">
            <div class="ui left icon input">
                <input type="text" placeholder="年龄" th:field="${idol.age}">

            </div>
        </div>
        <div class="field m-mobile-wide m-margin-bottom-small">
            <div class="ui left icon input">
                <input type="text" placeholder="出生地" th:field="${idol.place}">
            </div>
        </div>
        <div class="field m-mobile-wide m-margin-bottom-small">
            <div class="ui left icon input">
                <input type="text" placeholder="音乐" th:field="${idol.music}">

            </div>
        </div>
        <div class="field m-mobile-wide m-margin-bottom-small">
            <div class="ui left icon input">
                <input type="text" placeholder="话剧" th:field="${idol.drama}">

            </div>
        </div>
        <div class="field m-mobile-wide m-margin-bottom-small">
            <div class="ui left icon input">
                <input type="text" placeholder="影视剧" th:field="${idol.play}">
            </div>
        </div>


        <button class="ui teal button m-mobile-wide" type="submit">新建</button>
    </form>
</div>
</body>
</html>